package com.lry.basic.netty.protocol.struct;

public final class NettyMsg {

	private Header header;
	
	private Object body;

	public final Header getHeader() {
		return header;
	}

	public final void setHeader(Header header) {
		this.header = header;
	}

	public final Object getBody() {
		return body;
	}

	public final void setBody(Object body) {
		this.body = body;
	}

	@Override
	public String toString() {
		return "NettyMsg{" +
				"header=" + header +
				", body=" + body +
				'}';
	}
}
